package cn.itlaobing.util;

/**
 * @Description:
 * @Author: WangDong
 * @Date: 2017/11/12 15:24
 */
public class PageUtil {
    private int pageCount;//总页数
    private int pageIndex = 1;//当前第几页，默认第一页
    private int recordCount;//总记录数
    private int pageSize=4;//每页显示的条数

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}